package com.clpms.bean.enumBean;

public enum ErrorCodeEnum {
    SUCCESS(200, "操作成功"),
    SYSTEM_ERROR(100000, "服务器内部错误"),
    PARAM_ERROR(100002, "参数不合法"),
    FAIL(100003, "操作失败"),
    USER_NOT_LOGIN(100004, "当前用户未登录"),
    NO_AUTH(100005, "没有权限"),


    ;


    private final Integer code;
    private final String msg;

    public Integer getCode() {
        return this.code;
    }

    public String getMsg() {
        return this.msg;
    }

    private ErrorCodeEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
